package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
    import ${cfg.packageParent}.po.req.${entity}Req;
    import ${cfg.packageParent}.po.entity.${entity};
    import com.github.pagehelper.PageHelper;
    import com.github.pagehelper.PageInfo;

/**
 * <p>
    * ${table.comment!} 服务类
    * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    /**
    * 分页查询
    *
    * @param ${table.entityPath}Req
    * @return
    */
    PageInfo<${entity}> page(${entity}Req ${table.entityPath}Req);
}
</#if>
